package com.inspur.edp.bff.core.manager.testimpl;

import com.inspur.edp.bff.api.manager.IFSManager;
import com.inspur.edp.bff.spi.changeset.AbstractBffChangeJsonDeserializer;
import com.inspur.edp.bff.spi.request.RequestConvertor;
import com.inspur.edp.cef.api.request.RequestInfo;
import org.mockito.Mockito;

/**
 * RequestConvertor测试实现类，仅用于测试Mock
 *
 * @author Kaixuan Shi
 * @since 2024/4/7
 */
public class RequestConvertorTestImpl extends RequestConvertor {

    @Override
    protected RequestInfo createRequsetInfo() {
        return new RequestInfo();
    }

    @Override
    protected AbstractBffChangeJsonDeserializer getJsonConverter() {
        return Mockito.mock(AbstractBffChangeJsonDeserializer.class);
    }

    @Override
    protected IFSManager createFsManager() {
        return new FSManagerTestImpl();
    }
}
